export const textEllipsis=(str,maxLength=15)=>{
    if(str?.length>maxLength){
        return str.substr(0,maxLength) +"...";
    }
    else{
        return str;
    }
}